﻿using CommunityToolkit.Mvvm.ComponentModel;
using CommunityToolkit.Mvvm.Input;
using Macad.Interaction;
using SpCad;
using SPCAM.Servers;
using SPCAM.Utils;

namespace SPCAM.ViewModels
{
    public partial class MainViewModel:ObservableObject
    {
        public virtual InteractiveContext Context
        {
            get { return InteractiveContext.Current; }
        }
        public  MainCommands Cmd { get; set; }
        [ObservableProperty] private string _Title = "123";
        public Server Sv => Server.Instance;
        public MainViewModel(ISpView spv)
        {
            Cmd =   new MainCommands(spv);
           
        }
        [RelayCommand]
        private void import()
        {

        }
    }
}
